package com.hmall.fegin;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "hdmall-mall-srv")
public interface ProductClient {
    @RequestMapping(value = "/user/get_information", method = RequestMethod.GET)
    String test(@RequestParam("token") String token);
//    @PostMapping(value = "/configReader/configValue.do",headers = {"Accept=application/json","Content-Type=application/x-www-form-urlencoded"})
//    String test2(@RequestParam("projectName") String projectName, @RequestParam("wordName") String wordName);
}
